package com.wen.oop10;

public class outer {
    private int id=889;
    public void out(){
        System.out.println("这是外部类");
    }

  public   class Inner{
        public void In(){
            System.out.println("这是一个内部类");
        }

        public void getid(){
            System.out.println(id);
        }
    }
}
/*package com.wen;


import com.wen.oop10.outer;

public class application {

    public static void main(String[] args) {
        outer outer = new outer();
//        通过这个外部类；来实例化内部类
      outer.Inner inner = outer.new Inner();
      inner.In();
    }
}
*/